there are 4 ways to create a new date object

1. new Date()
2.new Date(year, month, day, hours, minutes, seconds, miliseconds)
3. new Date(milliseconds)
4. new Date(date string)

using the new date(7 numbers), create a new date object with the specified date and time.

two digit year will be interpreted as 19xx:

new Date(dateString) create a new date object from a date string

using the new Date(miliseconds), it creates a new date object as zero time is january 01, 1970 00:00:00 UTC plus the miliseconds